<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>选课列表</title>
    <link rel="stylesheet" th:href="@{/styles.css}" />
</head>

<body>
	<div>
    <span>当前登录</span>
	<span th:text=${user.username}></span>
	</div>
	<hr>
    
    <div class="title">
        <h1>可选课程</h1>
    </div>
    
    <div class="course">
       <form th:action="@{/home/result}" th:object=${course} method="post">
        

            <div class="c-demo">            
                <span>Java Wed 开发技术</span>
                <input type="checkbox" name="course" value="Java Wed 开发技术">
            </div>
    
            <div class="c-demo">
                <span>操作系统</span>
                <input type="checkbox" name="course" value=" 操作系统">
            </div>
    
            <div class="c-demo">
                <span>计算机网络</span>
                <input type="checkbox" name="course" value="计算机网络">
            </div>

            <div class="c-demo">
                <span>数据挖掘</span>
                <input type="checkbox" name="course" value="数据挖掘">
            </div>
            
            
            <div class="button">
    			<input type="submit" value="提交">
   			</div>


        </form>
    </div>     



</body>

</html>